package com.numberone.master.common.http;

import java.security.cert.CertificateException;

import javax.net.ssl.X509TrustManager;
import javax.security.cert.X509Certificate;

public class TrustAnyTrustManager implements X509TrustManager {
	public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
	}

	public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
	}

	@Override
		 public void checkClientTrusted(java.security.cert.X509Certificate[] x509Certificates, String s) throws CertificateException {
		
	}
	@Override
	public void checkServerTrusted(java.security.cert.X509Certificate[] x509Certificates, String s)
			throws CertificateException {
}

	@Override
	public java.security.cert.X509Certificate[] getAcceptedIssuers() {
	return new java.security.cert.X509Certificate[0];
		}

}
